package 设计模式.g_桥接模式;

/**
 * @author caihe
 * @date 2023/3/10 10:24
 */
public class SonyRemoteControl extends RemoteControl {


    public SonyRemoteControl(TV tv) {
        super(tv);
    }

    @Override
    public void on() {
        System.out.println("索尼遥控按下开机键");
        tv.on();
    }

    @Override
    public void off() {
        System.out.println("索尼遥控按下关机键");
        tv.off();
    }
}
